<?php

use \think\facade\Route;

Route::rule('/', 'index/index/index', 'GET');

Route::rule('list/:category_id/:category_name/[:keyword]', 'index/listpage/index', 'GET');

Route::rule('list2/:category_id/:category_name/[:sub_cate_id]', 'index/listpage/list2', 'GET');

Route::rule('detail/:id/[:category_name]', 'index/article/index', 'GET');
